//
//  CustomButton.m
//  02_作业
//
//  Created by dllo on 16/6/6.
//  Copyright © 2016年 zuzhiming. All rights reserved.
//

#import "CustomButton.h"

@implementation CustomButton

+ (instancetype)buttonWithType:(UIButtonType)buttonType WithFrame:(CGRect)frame WithTitle:(NSString *)title
{
    CustomButton *button = [CustomButton buttonWithType:buttonType];
    //外界自定义大小. 传入内部
    button.frame = frame;
    //设置button标题
    [button setTitle:title forState:UIControlStateNormal];
     button.tintColor = [UIColor blueColor];
    button.titleLabel.font = [UIFont systemFontOfSize:15.0f];
    return button;
}




@end
